package com.tanhua.dubbo.pojo;

/*
声音文件
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "audio")
public class Audio implements java.io.Serializable{

    private static final long serialVersionUID = 8130384728190352261L;

    private ObjectId id;  //主键id
    private Long aid;   //自增长id
    private Long userId;
    private String soundUrl; //语音文件地址
    private Long created; //创建时间
}
